#ifndef OBDYNAMIC_H
#define OBDYNAMIC_H

#include "ObMoving.h"
#include "d3dx9.h"

class ObDynamic : public ObMoving{
public:
	enum INFO { LEFT = 1, RIGHT};
	ObDynamic(){ mRightFaced = LEFT;}

	virtual bool setId(int nid) {return false;}
	virtual bool setInfo(int ninfo) {return false;}

	virtual void collidedWith(ObObject* object, CollisionRS rs) {}
	virtual void update(float dt) {}
	virtual void render(ID3DXSprite* mSprite) {}
	INFO mRightFaced;
};

#endif